package com.maychat.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class GroupInfo {
    private String groupId;
    private String groupName;
    private String groupOwnerId;
    private LocalDateTime createTime;
    private String groupNotice;
    private Integer joinType;
    private Integer status;
    private Integer memberCount;

    public GroupInfo(String groupId, String groupName, String groupOwnerId, LocalDateTime createTime, String groupNotice, Integer joinType, Integer status) {
        this.groupId = groupId;
        this.groupName = groupName;
        this.groupOwnerId = groupOwnerId;
        this.createTime = createTime;
        this.groupNotice = groupNotice;
        this.joinType = joinType;
        this.status = status;
    }
}
